/**
 * Copyright(c) 2016-2019 by Euler
 * All Rights Reserved
 */
package com.booter.consumer.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * @author admin
 *
 */
@Component
@RefreshScope
@Data
public class ConstantsConfig {

    @Value("${title}")
    private String title;

    @Value("${spring.data.redis}")
    private String redis;

}
